//
//  CYAlert.h
//  CaiYun
//
//  Created by 今日信息科技 on 2017/8/14.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CYAlert : NSObject
/**
 *@pragma 弹出一个警告框，在控制器中
 */
+ (void)showWithTitle:(NSString *)title message:(NSString *)message inController:(CYViewController *)controller complete:(void(^)(void))completion;
/**
 *@pragma 弹出一个警告框，在application.delegate.window
 */
+ (void)showInWindowWithTitle:(NSString *)title message:(NSString *)message complete:(void(^)(void))completion;
/**
 *@pragma 弹出一个警告框，在application.delegate.window,有确定，取消
 */
+ (void)showInWindowWithTitle:(NSString *)title message:(NSString *)message enterComplete:(void(^)(void))completion;
/**
 *@pragma 弹出一个警告框，在application.delegate.window，并自动消失
 */
+ (void)showMessage:(NSString *)message;
@end
